package cn.imvc.app.repositories;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;

import cn.imvc.app.entities.GoodsOrder;
import cn.imvc.app.entities.Member;

public interface GoodsOrderRepository extends JpaRepository<GoodsOrder, Integer> {
	GoodsOrder findByMemberAndId(Member member, Integer id);
	List<GoodsOrder> findByIdIn(List<Integer> ids);
}
